package com.tenghui.assisting.domain;

import com.tenghui.common.annotation.Excel;
import lombok.*;
import com.tenghui.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 购物车对象 cart
 *
 * @author tenghui
 * @date 2025-11-01
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 购物车ID */
    private String cartId;

    /** 产品ID */
    @Excel(name = "产品ID")
    private String productsId;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 产品规格 */
    private String specs;

    /** 产品图片 */
    private String image;

    /** 产品产地 */
    private String origin;

    /** 产品价格 */
    private BigDecimal price;

    /** 产品名称 */
    private String productName;

    /** 卖家ID */
    private String sellerUserID;

    /** 买家名称 */
    private String buyerUserName;

    /** 买家名称 */
    private String sellerUserName;

}
